package cn.com.generaldata.os.pojo;

import com.sun.xml.internal.bind.CycleRecoverable;

public class IndicatorConclusion implements java.io.Serializable, CycleRecoverable {

	private static final long serialVersionUID = -1574273762783810614L;

	private String id; // ID
	private Integer indicatorId; // 指标ID
	private Double valueMin;// 判定结论最小区域值
	private Double valueMax;// 判定结论最大区域值
	private String result;// 结论
	private String parentId;// 多层结论的上层ID

	public IndicatorConclusion() {
	}

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		IndicatorConclusion temp = new IndicatorConclusion();
		temp.setId(id);
		return temp;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getIndicatorId() {
		return indicatorId;
	}

	public void setIndicatorId(Integer indicatorId) {
		this.indicatorId = indicatorId;
	}

	public Double getValueMin() {
		return valueMin;
	}

	public void setValueMin(Double valueMin) {
		this.valueMin = valueMin;
	}

	public Double getValueMax() {
		return valueMax;
	}

	public void setValueMax(Double valueMax) {
		this.valueMax = valueMax;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public IndicatorConclusion(String id, Integer indicatorId, Double valueMin, Double valueMax, String result,
			String parentId) {
		super();
		this.id = id;
		this.indicatorId = indicatorId;
		this.valueMin = valueMin;
		this.valueMax = valueMax;
		this.result = result;
		this.parentId = parentId;
	}

}
